<template>
  <div id="root">
    <div id="ro">
      <span></span>
      <div>
        <h1>我的酷秀</h1>
      </div>
    </div>

    <div class="s-page-body">
      <div id="center">
        <p>欢迎来到酷秀网-您的电子票务专家</p>
        <button @touchstart="totalBtn">登录/注册</button>
      </div>

      <div id="four">
        <div class="item">
          <img src="/static/img/logo/qbdd.png">
          <p>全部订单</p>
        </div>
        <div class="item">
          <img src="/static/img/logo/dfk.png">
          <p>待付款</p>
        </div>
        <div class="item">
          <img src="/static/img/logo/dcy.png">
          <p>待出游</p>
        </div>
        <div class="item">
          <img src="/static/img/logo/ycy.png">
          <p>已出游</p>
        </div>
      </div>

      <div class="center-item margin-top">
        <div class="center-item-first">
          <img src="/static/img/logo/wdhb.png">
          <span>我的红包</span>
        </div>
        <img src="/static/img/logo/angle-right.png">
      </div>
      <div class="center-item">
        <div class="center-item-first">
          <img src="/static/img/logo/cyxx.png">
          <span>常用信息</span>
        </div>
        <img src="/static/img/logo/angle-right.png">
      </div>
      <div class="center-item border-bottom">
        <div class="center-item-first">
          <img src="/static/img/logo/zhyaq.png">
          <span>账户与安全</span>
        </div>
        <img src="/static/img/logo/angle-right.png">
      </div>
      <div class="center-item margin-top">
        <div class="center-item-first">
          <img src="/static/img/logo/bzzx.png">
          <span>帮助中心</span>
        </div>
        <img src="/static/img/logo/angle-right.png">
      </div>
      <div class="center-item">
        <div class="center-item-first">
          <img src="/static/img/logo/yjfk.png">
          <span>意见反馈</span>
        </div>
        <img src="/static/img/logo/angle-right.png">
      </div>
      <div class="center-item border-bottom margin-bottom">
        <div class="center-item-first">
          <img src="/static/img/logo/gykx.png">
          <span>关于酷秀</span>
        </div>
        <img src="/static/img/logo/angle-right.png">
      </div>

      <BottomBar></BottomBar>
      <HomeBottomBar></HomeBottomBar>

    </div>



  </div>
</template>

<script>
import {mapState} from "vuex";
import BottomBar from '../components/BottomBar.vue';
import HomeBottomBar from '../components/HomeBottomBar.vue';
export default {
  components:{
    BottomBar,
    HomeBottomBar
  },
  methods:{
    totalBtn:function(){
      location.hash = "/my/login";
    },
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  #root{
    width:100vw;
  }
  #ro{
    height:44px;
    background-color:#F8F8F8;
    display:flex;
    padding:0 25px 0 10px;
  }
  #ro>span{
    margin-top: 7px;
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image:url("/static/img/logo/person.png");
    background-size: 100% auto;
    background-repeat: no-repeat;
    overflow: hidden;
    vertical-align:middle;
  }
  #ro>div{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow:1;
    text-align:center;
    margin:0 30px;
  }
  #ro h1{
    display:inline-block;
    font-size: 16px;
    color: #4a4a4a;
  }
  #center{
    height:124px;
    background-image:url("/static/img/logo/center_bg.png");
    text-align:center;
    padding:20px;
    background-position:50% 50%;
    background-size:100% 100%;
  }
  #center>p{
    margin:0;
    font-size:14px;
    color:white;
  }
  #center>button{
    border:none;
    margin-top:20px;
    width: 120px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    background: #FF6F6D;
    border-radius: 4px;
    box-shadow: 0 2px #D31338;
    text-align:center;
    color:white;
  }
  #four{
    height:82px;
    background-color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
    border-bottom:solid 1px #dedede;
    padding:0 35px;
  }
  .item{
    text-align:center;
  }
  .item>p{
    margin:0;
    font-size:12px;
    color:#333;
  }
  .center-item{
    background-color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:9px 15px;
    border-top:solid 1px #dedede;
  }
  .center-item>img{
    width:12px;
    height:12px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    overflow: hidden;
  }
  .center-item-first{
    display:flex;
    align-items:center;
  }
  .center-item-first>span{
    color: #333333;
    font-size:14px;
    margin-left:8px;
  }
  .margin-top{
    margin-top:10px;
  }
  .border-bottom{
    border-bottom:solid 1px #dedede;
  }
  .margin-bottom{
    margin-bottom:25px;
  }
</style>
